import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store,{KEY} from './store/index'
import ElementPlus from 'element-plus'              //加载组件
import 'element-plus/dist/index.css'               //加载样式
import './mock/index'
import './router/permission'                        //启用路由守卫

createApp(App)
.use(store)
.use(router)
.use(ElementPlus)

.mount('#app')
